package com.dongdongshop.seller.service;

import com.dongdongshop.seller.pojo.TbGoods;
import com.dongdongshop.seller.pojo.TbGoodsDesc;
import com.dongdongshop.seller.pojo.TbItem;
import com.dongdongshop.seller.vo.GoodsVO;

import java.util.List;

public interface GoodsService {

    void addGoodsAndGoodsDesc(TbGoods goods, TbGoodsDesc goodsDesc, List<TbItem> items);

    List<TbGoods> getGoodsByName(String goodsName);

    void deleteGoods(Long[] ids);

    void updateStatus(Integer obj,Long[] ids);

    List<TbGoods> getGoodsBySellerId(String sellerId,Integer state,String name);

    GoodsVO selectById(Long id);

    TbGoods getGoodsByGoodsId(Long goodsId);

}
